Unix - Engineering

Q1:

Which command is used to make all files and sub-directories in the directory (progs) executable by all users?

A chmod -R a+x progs

B chmod -R 222 progs

C chmod -1 a+x progs

D chmod -x a+x progs

E None of the above

ANS:A - chmod -R a+x progs

R is for recursive directories and (a+x) describes all have execute permission. And if they have execute permission then by default they have read write permission also.